package edu.sandau.f210153.f21010536.repository;

import edu.sandau.f210153.f21010536.model.School;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SchoolRepository extends JpaRepository<School,Long> {
    List<School> findByName(String name);

    List<School> findByNameOrDizhi(String name, String dizhi);
}
